package com.itheima.service.mongo;

import com.itheima.vo.PageBeanVo;

public interface FriendService {

    //保存好友关系
    void addContacts(Long userId, Long friendId);

    //分页查询当前用户的所有好友
    PageBeanVo findContact(Long userId, Integer pageNum, Integer pageSize);

    //删除mongo中好友关系
    void deleteContacts(Long userId, Long likeUserId);
}